//
//  FriendItem.h
//  ChangChat
//
//  Created by Cocoa on 2019/9/3.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "YBBaseItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface FriendItem : YBBaseItem
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *friend_id;
@property (nonatomic, copy) NSString *group_id;
@property (nonatomic, copy) NSString *mobile;
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *bio;
@property (nonatomic, copy) NSString *birthday;
@property (nonatomic, copy) NSString *gender;
@property (nonatomic, copy) NSString *region;
@property (nonatomic, copy) NSString *type;
@property (nonatomic, assign) BOOL is_friend;
@property (nonatomic, assign) BOOL is_black;
@property (nonatomic, copy) NSString *sort_id;
@property (nonatomic, copy) NSString *sort_name;
@property (nonatomic, assign) NSInteger add_type;
///  好友申请状态 0 等待验证1选择 2已同意3已拒绝
@property (nonatomic, assign) NSInteger status;
///  好友请求内容
@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *pinyin;

- (BOOL)isFriend;
- (BOOL)isMe;
- (NSString *)displayName;
- (NSString *)getCardJson;
- (NSString *)getUserId;
@end

NS_ASSUME_NONNULL_END
